package com.xbx.admin.entity.user.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * 角色对象
 *
 * @author 89005691
 * @create 2018-08-30 21:08
 */
@Data
@ApiModel("角色对象")
public class RoleInfoForm {

    /**
     * 角色名称
     */
    @NotNull(message = "角色名称")
    @ApiModelProperty(value = "角色名称", example = "系统管理员", required = true)
    private String roleName;

    /**
     * 角色备注
     */
    @ApiModelProperty(value = "角色备注")
    private String roleDesc;
}
